GXJobFormatModeQuery
You can use theGXJobFormatModeQuery
function to get or set additional information related to a job format mode.
void GXJobFormatModeQuery (gxJob aJob, gxQueryType aQueryType, void *srcData, void *dstData);
aJob
- A reference to the job object for which information relating to the printer's format mode is being requested.
aQueryType
The kind of query requested.srcData
- A pointer to the source data.
dstData
- A pointer to the destination data.
DESCRIPTION
TheGXJobFormatModeQuery
function obtains information from a printer driver that relates to the printer driver's preferred mode. The kinds of queries that can be specified in theaQueryType
parameter depend on the printer driver. The format and direction of the data transfer depends on the kind of query.QuickDraw GX defines query types for use with printer drivers whose preferred mode is
gxTextJobFormatMode
:
Constant Value Explanation gxGetJobFormatLineConstraintQuery 0 Used to determine line constraint characteristics gxGetJobFormatFontsQuery 1 Used to determine font information gxGetJobFormatFontCommonStylesQuery 2 Used to determine style names gxGetJobFormatFontConstraintQuery 3 Used to determine font positioning constraints gxSetStyleJobFormatCommonStyleQuery 4 Used to set style names RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. SEE ALSO
For more information the kinds of queries and the format of data returned, see "Formatting for Text Job Format Mode Printing" on page 4-36.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help